package com.zx.web.dao;

import com.zx.bean.Order;
import com.zx.bean.User;

import java.util.List;

/**
 * @author 章鑫
 * @version V1.0
 * @Project 2022-09-05
 * @Package com.zx.web.dao
 * @Description:
 * @Date 2022/9/16 9:44
 */
public interface AdminUserDao {
    User findAdmin(String username, String password);

    List<User> findAllValid();

    void deleteUser(int id);

    List<User> findUserList(String username, String gender);

    List<User> findAllInValid();

    List<Order> findOrder(int uid);

    void deleteOrderDetail(String id);

    void deleteOrder(int uid);

    void deleteCart(int id);

    void deleteAddress(int id);
}
